
const routes = [
    {name:"Login",
        path:"/login",
        component: () => import('@/allvue/user/login')
    },
    {name:"Index",
        path:"/index",
        component: () => import('@/allvue/index/index'),
        children: [
            {
                name: "Supplier",
                path: "/index/supplier",
                component: () => import('@/allvue/data/supplier')
            },
            {
                name: "Client",
                path: "/index/client",
                component: () => import('@/allvue/data/client')
            },
            {
                name: "BuyerCar",
                path: "/index/buyer",
                component: () => import('@/allvue/buyer/buyerCar')
            },
            {
                name: "BuyerInfo",
                path: "/index/buyerInfo",
                component: () => import('@/allvue/buyer/buyerInfo')
            },
            {
                name: "Sell",
                path: "/index/sell",
                component: () => import('@/allvue/sell/sellCar')
            },
            {
                name: "SellInfo",
                path: "/index/sellInfo",
                component: () => import('@/allvue/sell/sellInfo')
            },
            {
                name: "Product",
                path: "/index/product",
                component: () => import('@/allvue/product/product')
            },
            {
                name: "CountSell",
                path: "/index/countSell",
                component: () => import('@/allvue/count/countSell')
            },
            {
                name: "CountMonth",
                path: "/index/countMonth",
                component: () => import('@/allvue/count/countMonth')
            },
            {
                name: "User",
                path: "/index/user",
                component: () => import('@/allvue/grade/user')
            },
            {
                name: "Role",
                path: "/index/role",
                component: () => import('@/allvue/grade/role')
            },
            {
                name: "Change",
                path: "/index/change",
                component: () => import('@/allvue/user/change')
            },
            {
                name: "Log",
                path: "/index/log",
                component: () => import('@/allvue/log/log')
            },
        ]
    },

];
export default routes ;